package cn.edu.nuc.creditSystem.service.user.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.edu.nuc.creditSystem.bean.user.Menu;
import cn.edu.nuc.creditSystem.dao.BaseMapper;
import cn.edu.nuc.creditSystem.dao.user.inf.MenuMapper;
import cn.edu.nuc.creditSystem.service.BaseImpl;
import cn.edu.nuc.creditSystem.service.user.service.MenuService;
@Service
public class MenuImpl extends BaseImpl<Menu> implements MenuService{
	@Autowired
	private MenuMapper mm;
	@Override
	public BaseMapper<Menu> getBaseDao() {
		return mm;
	}
	@Override
	public List<Menu> queryMenuByRoleId(Integer roleId) {
		return mm.queryMenuListByRoleId(roleId);
	}
	
}
